package com.yjy.fuyao.stu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjy.fuyao.stu.entity.Video;
import com.yjy.fuyao.stu.entity.form.VideoInfo;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author yjy
 * @since 2021-08-17
 */
public interface VideoService extends IService<Video> {
    boolean getCountByChapterId(String chapterId);

    boolean saveOrUpdateVideoInfo(VideoInfo videoInfo);

    VideoInfo getVideoInfoById(String id);

    boolean removeByCourseId(String courseId);

    boolean removeByVideoId(String id);
}
